8a09ec0e06a19eae966e4d614e11d3c14613277c,src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java,GeoShapeIntegrationTests,testNullShape,#,49

Before Change


                .field("type", "geo_shape")
                .endObject().endObject()
                .endObject().endObject().string();
        prepareCreate("test").addMapping("type1", mapping).execute().actionGet();
        ensureGreen();

        client().prepareIndex("test", "type1", "aNullshape").setSource("{\"location\": null}").execute().actionGet();

After Change


                .field("type", "geo_shape")
                .endObject().endObject()
                .endObject().endObject().string();
        assertAcked(prepareCreate("test").addMapping("type1", mapping));
        ensureGreen();

        indexRandom(false, client().prepareIndex("test", "type1", "aNullshape").setSource("{\"location\": null}"));